﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="loginbar.ascx.cs" Inherits="loginbar" %>
<asp:MultiView ID="LoginState" runat="server" ActiveViewIndex="0">
<asp:View ID="v0" runat="server">
<table cellpadding="0" cellspacing="0" style="width:100%; height:56px;" align="center">
                                <tr>
                                    <td height="28px" style="background-color:#eee; background-image:url('../../App_Themes/img/login_panel_bg.jpg');">
                                        &nbsp;&nbsp;                                        
                                                                                
                                        
                                        
                                        <asp:Label ID="lbl_Login" Text="Имя пользователя" runat="server" CssClass="login_labels"></asp:Label>
                                        <asp:TextBox ID="txt_Login" Text="" runat="server" Width ="100px" Height="19px" Font-Size="8pt" Font-Bold="True" CssClass="um_textb"></asp:TextBox>
                                        &nbsp;
                                        <asp:Label ID="Label1" Text="Пароль" runat="server" CssClass="login_labels"></asp:Label>
                                        <asp:TextBox ID="txt_Pass" Text="" runat="server" Width ="100px" Height="19px" Font-Size="8pt" Font-Bold="True" CssClass="um_textb" TextMode="Password"></asp:TextBox>
                                        <asp:LinkButton ID="btn_Login" Text="Войти" runat="server" CssClass="login_labels" OnClick="Login"></asp:LinkButton>                                        
                                        
                                        
                                    </td>
                                    <td height="28px" width="250px" style="background-color:#eee; background-image:url('../../App_Themes/img/login_panel_bg.jpg');">
                                    <asp:LinkButton ID="LinkButton1" Text="&nbsp;&nbsp;Главная&nbsp;&nbsp;" runat="server" CssClass="login_labels" PostBackUrl="~/ru/main.aspx"></asp:LinkButton>
                                    <asp:LinkButton ID="LinkButton2" Text="&nbsp;&nbsp;Мои покупки&nbsp;&nbsp;" runat="server" CssClass="login_labels" PostBackUrl="~/ru/main.aspx"></asp:LinkButton>
                                    <asp:LinkButton ID="LinkButton3" Text="&nbsp;&nbsp;Написать нам&nbsp;&nbsp;" runat="server" CssClass="login_labels" PostBackUrl="~/ru/support.aspx"></asp:LinkButton>                                    
                                    </td>
                                </tr>
                                <tr>
                                    <td height="28px" style="background-image:none;">
                                    &nbsp;&nbsp;<asp:CheckBox ID="chb_Remember" Checked="false" Text="Запомнить меня" CssClass="login_labels_black" runat="server" Height="19px" />
                                    &nbsp;<asp:LinkButton ID="btn_Register" CssClass="login_labels_black" runat="server" Text="[Регистрация]" PostBackUrl="~/ru/register.aspx"></asp:LinkButton>
                                    </td>
                                    <td width="250px" style="background-image:none;">
                                    
                                    </td>
                                </tr>
</table>     
</asp:View>
<asp:View ID="v1" runat="server">
<table cellpadding="0" cellspacing="0" style="width:100%; height:28px;" align="center">
                                <tr>
                                    <td height="28px" style="background-color:#eee; background-image:url('../../App_Themes/img/login_panel_bg.jpg');">
                                        &nbsp;&nbsp;
                                        <asp:Label ID="lbl_Greatings" Text="Hi" runat="server" CssClass="login_labels"></asp:Label>                                        
                                        <asp:LinkButton ID="btn_Profile" Text="&nbsp;&nbsp;Профайл&nbsp;&nbsp;" runat="server" CssClass="login_labels" PostBackUrl="~/ru/userinfo.aspx"></asp:LinkButton>
                                        <asp:LinkButton ID="btn_Logout" Text="&nbsp;&nbsp;Выйти&nbsp;&nbsp;" runat="server" CssClass="login_labels" OnClick="Logout"></asp:LinkButton>                                        
                                    </td >
                                    <td width="250px" height="28px" style="background-color:#eee; background-image:url('../../App_Themes/img/login_panel_bg.jpg');">
                                    <asp:LinkButton ID="btn_Homev2" Text="&nbsp;&nbsp;Главная&nbsp;&nbsp;" runat="server" CssClass="login_labels" PostBackUrl="~/ru/main.aspx"></asp:LinkButton>
                                    <asp:LinkButton ID="btn_Recycledv2" Text="&nbsp;&nbsp;Мои покупки&nbsp;&nbsp;" runat="server" CssClass="login_labels" PostBackUrl="~/ru/main.aspx"></asp:LinkButton>
                                    <asp:LinkButton ID="btn_Supportv2" Text="&nbsp;&nbsp;Написать нам&nbsp;&nbsp;" runat="server" CssClass="login_labels" PostBackUrl="~/ru/support.aspx"></asp:LinkButton>
                                    </td>
                                </tr>
                                <tr>
                                    <td height="28px" style="background-image:none;">
                                        &nbsp;
                                    </td>
                                    <td height="28px" style="background-image:none;">
                                        &nbsp;
                                    </td>
                                </tr>
</table>
</asp:View>
<asp:View ID="v3" runat="server">
<table cellpadding="0" cellspacing="0" style="width:100%; height:28px;" align="center">
       <tr>
           <td height="28px" style="background-color:#eee; background-image:url('../../App_Themes/img/login_panel_bg.jpg');">
                 <asp:Label ID="lbl_err" runat=server CssClass="login_labels_err"></asp:Label>                                          
                 <asp:LinkButton ID="btn_TryMore" CssClass="login_labels" runat="server" Text="&nbsp;&nbsp;Еще раз&nbsp;&nbsp;" PostBackUrl="~/ru/main.aspx"></asp:LinkButton>
                 <asp:LinkButton ID="btn_RePass" CssClass="login_labels" runat="server" Text="&nbsp;&nbsp;Восстановить пароль&nbsp;&nbsp;" PostBackUrl="~/ru/repass.aspx"></asp:LinkButton>
           </td>
           <td height="28px" style="background-color:#eee; background-image:url('../../App_Themes/img/login_panel_bg.jpg');">
           &nbsp;
           </td>                                   
       </tr>
       <tr>
            <td height="28px" style="background-image:none;">
                &nbsp;
            </td>
            <td height="28px" style="background-image:none;">
                &nbsp;
            </td>
       </tr>
</table>
</asp:View>
</asp:MultiView> 